<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>猎舞网</title>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
		<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
">
		<link rel="stylesheet" href="__PUBLIC__static/lib/weui.min.css">
		<link rel="stylesheet" href="__PUBLIC__static/css/jquery-weui.css">
		<link rel="stylesheet" href="__PUBLIC__static/css/style.css">
		<style type="text/css">
			#fabuzhaop {
				background-color: white;
				position: relative;
				width: 100%;
				height: 55px;
				border-bottom: 0.5px solid #CCCCCC;
				line-height: 55px;
				font-size: 20px;
				font-weight: bold;
				padding-left: 10px;
			}
			
			#fabuzhaop img {
				float: right;
				margin-top: 5px;
				margin-right: 20px;
			}
			
			.outer {
				width: 500px;
				margin: 10px auto;
			}
			
			.wy-header-title {
				position: relative;
				width: 100%;
				height: 56px;
				background-color: black;
				margin-left: -2px;
			}
			
			.backw {
				position: absolute;
				width: 30px;
				top: 25%;
				left: 9px;
			}
			
			.wy-header-title span {
				font-family: FZLTZHK;
				font-size: 22px;
				color: #FFFFFF;
				line-height: 56px;
			}
			
			#body ul {
				position: relative;
				width: 100%;
				height: 120px;
				background-color: white;
				margin-bottom: 10px;
			}
			
			#jobname {
				position: absolute;
				left: 5%;
				top: 10%;
				font-family: Pingfang SC;
				color: #333333;
				font-size: 19px;
				font-weight: bold;
				letter-spacing: 1px;
			}
			
			#xinxi {
				position: absolute;
				font-family: Pingfang SC;
				font-size: 15px;
				top: 40%;
				left: 5%;
				color: #666666;
			}
			
			#xinxi span {
				margin: 0px 4px;
			}
			
			#miantan {
				position: absolute;
				width: 40px;
				top: 70%;
				left: 18%;
			}
			
			#typeimg {
				position: absolute;
				width: 40px;
				top: 70%;
				left: 5%;
			}
			
			#go {
				width: 45px;
				position: absolute;
				top: 35%;
				left: 85%;
			}
			
			.update {
				width: 60px;
				position: absolute;
				top: 15%;
				left: 78%;
			}
			
			.del {
				width: 60px;
				position: absolute;
				top: 60%;
				left: 78%;
			}
		</style>
	</head>

	<body ontouchstart style="background-color: rgb(245,245,245)">
		<!--顶部-->
		<header class='weui-header'>
			<div class="wy-header-title">
				<img class="backw" src="__PUBLIC__static/images/backwhite.png" alt="" />
				<span>招聘信息</span>
			</div>
		</header>
		<!--FABU-->
		<div id="fabuzhaop">
			发布招聘
			<img src="__PUBLIC__static/images/icon-more.png" />
		</div>
		<!--主体-->
		<div id="body">
			{foreach $res as $v}
			<ul id="{$v.id}" style="margin-top: 0%;">
				<div id="jobname">{$v.jobname}</div>
				<div id="xinxi">
					<span id="sheng">{$v.jobaddress}</span>
					<!--<span id="sarary">{$v.jobsalary}</span>-->
				</div>
				<img id="miantan" src="__PUBLIC__static/images/miantan.png" />
				<img id="typeimg" src="__PUBLIC__static/images/jianzhi.png" />
				<img class="update" src="__PUBLIC__static/images/burrton_xg.png" />
				<img class="del" src="__PUBLIC__static/images/burrton_del.png" />
			</ul>			
			{/foreach}
		</div>
		<!--底部导航-->
		<div class="foot-black"></div>
		<div class="weui-tabbar wy-foot-menu">
			<a href="../Resume/index" class="weui-tabbar__item " style="height: 48px">
				<img style="width: 50px;" src="__PUBLIC__static/images/Tutor.png" />
				
			</a>
			<a href="../Content/index" class="weui-tabbar__item weui-bar__item--on" style="height: 48px">
				<img style="width: 50px;" src="__PUBLIC__static/images/recruit.png" />
				
			</a>
			<a href="../Users/index" class="weui-tabbar__item" style="height: 48px">
				<img style="width: 26px;" src="__PUBLIC__static/images/me.png" />
			</a>
		</div>

		<script src="__PUBLIC__static/lib/jquery-2.1.4.js"></script>
		<script src="__PUBLIC__static/lib/fastclick.js"></script>
		<script src="__PUBLIC__static/js/jquery-weui.js"></script>
		<script src="__PUBLIC__static/js/swiper.js"></script>

		<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
		<script src="__PUBLIC__static/js/area.js"></script>
		<script src="__PUBLIC__static/js/select.js"></script>
		<script type="text/javascript">
			$("#fabuzhaop").on("click", function() {
				window.location.href = "fbzp";
			});
			$(".del").on("click", function() {
				$del = $(this).parent().attr("id");
				//jq的ajax
				$.ajax({
					type: 'POST',
					url: "del",
					data: {
						id: $del
					},
					dateType: "json",
					success: function(xhr) {
						switch(xhr.status) {
							case 1:
								alert(xhr.message);
								window.location.reload();
								break;
							case 0:
								alert(xhr.message);
								break;
						}
					}
				})
			});
			$(".update").on("click", function() {
				window.location.href = "update?id=" + $(this).parent().attr("id");
			});
		</script>
	</body>

</html>